<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" >
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>

<body>
    <form th:action="@{/doLogin}" method="post">
        <input type="text" name="username" />
        <input type="password" name="password" />
        <input type="checkbox" name="rememberMe" value="on"/>
        <input type="submit" value="登录" />
    </form>
</body>
</html>